<?php
/*
Created On: Jan 25,2005
Description: This is include file which is used to define the variables used in site and database connection.
*/
error_reporting(E_ALL  ^ E_NOTICE ^ E_DEPRECATED);
ini_set("display_errors", 0);
session_start();
define('_SITE_URL_',"http://localhost/dialshaadi/");
define('_SITE_ADMIN_URL_',"http://localhost/dialshaadi/admin/");
define('_SITE_PATH_',$_SERVER['DOCUMENT_ROOT']."/dialshaadi/");
define('_ADMIN_PATH_',$_SERVER['DOCUMENT_ROOT']."/dialshaadi/admin/");
define('_ADMIN_TPL_PATH_',_ADMIN_PATH_."template/");
define('_ADMIN_TPL_MAIN_',_ADMIN_TPL_PATH_."admin_main.tpl");
define('_ADMIN_CSS_',_SITE_ADMIN_URL_."css/");
define('_ADMIN_JS_',_SITE_ADMIN_URL_."js/");

define('_RESOURCE_PATH',_SITE_PATH_."resources/");
define('_SITE_BASE_PATH',"/dialshaadi/");
define('_ADMIN_BASE_PATH',"/dialshaadi/admin/");

//	Database settings	//
define('_HOST_','localhost');
define('_USER_','root');
define('_DBNAME_','dialshaadi');
define('_PASS_','');

require_once _SITE_PATH_.'lib/adodb/adodb.inc.php';
require_once _SITE_PATH_.'lib/MyDB/MyDB.php';
$DB = new MyDB();
$db = $DB->connect();

require_once _SITE_PATH_.'classes/AdminMaster/AdminMaster.php';
require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';
require_once _ADMIN_PATH_.'inc/functions.php';
require_once _ADMIN_PATH_.'inc/constants.php';
?>